package api

import (
	"github.com/gin-gonic/gin"
	"redbook/api/hander"
)

func LoadRouth(c *gin.Engine) {
	c.POST("/upload", hander.Upload)
	c.POST("/add", hander.Update)
	c.POST("/dian", hander.Dian)
	c.GET("/list", hander.List)
}
